#!/bin/sh
gitUrl=$1
isExe=${package}
gitBranch=${branch}
sysName=${JOB_NAME}
serverIP=${hostNames}
confGitBranch=${envName}

if $isExe; then
	salt -N 'deploy' cmd.run "bash d:\\scripts\\build.sh $gitUrl $gitBranch $sysName $serverIP $confGitBranch"
else
	echo  'skip package'
fi
